package cn.kgc.vue.service;

import cn.kgc.vue.commons.QueryCondition;
import cn.kgc.vue.commons.ResponseResult;
import cn.kgc.vue.entity.User;
import cn.kgc.vue.form.UserForm;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.net.http.HttpRequest;
import java.util.HashMap;
import java.util.List;

/**
* @author 11839
* @description 针对表【sys_user】的数据库操作Service
* @createDate 2024-06-28 15:23:44
*/
public interface UserService extends IService<User> {

    ResponseResult getCaptcha();


    ResponseResult login(HashMap<String, Object> params, HttpServletRequest request);

    ResponseResult userPage(QueryCondition<User> queryCondition);


    ResponseResult changeState(HashMap<String, Object> params);

    ResponseResult deleteUser(List<Integer> ids);

    ResponseResult add(UserForm userForm);

    ResponseResult edit(UserForm userForm);

    ResponseResult personal(HttpServletRequest request);

    ResponseResult editPersonal(HashMap<String, String> params, HttpServletRequest request);

    ResponseResult Logout(HttpServletRequest request);

    ResponseResult getMeuns(HttpServletRequest request);
}
